<!DOCTYPE html>
<head>
<script type="text/javascript" src="resources/reveal-utilities.js"></script>
</head>
<body>
<div>When the caret is scrolled out, on starting typing it must be brought to the edge of the control.</div>
<textarea name="textarea" id="textarea" rows="10" cols="10"></textarea>
<script>

var textArea = document.getElementById("textarea");
textArea.textContent = generateNumbers(0, 30, 2, "\n");
textArea.setSelectionRange(0, 0);
textArea.focus();
textArea.selectionStart = 36;
if (window.eventSender)
    eventSender.keyDown(">");

</script>
</body>
